//将Symbol放到全局注册表
let sy1 = Symbol.for('hello');
//从全局注册表中找到key对于symbol值
let sy2 = Symbol.for('hello');
console.log(sy1 === sy2);
let sy3 = Symbol('hello');
let sy4 = Symbol('hello');
console.log(sy3 === sy4);